package com.gimi.cloud.bbp.manage.service.log.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.gimi.cloud.bbp.dao.dao.log.LogJPushDao;
import com.gimi.cloud.bbp.dto.log.LogJPushDTO;
import com.gimi.cloud.bbp.manage.service.log.LogJPushService;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;

@Service
public class LogJPushServiceImpl implements LogJPushService{
	
	@Autowired private LogJPushDao dao;
	
	@Override
	public PageInfo<LogJPushDTO> getLogJPushList(LogJPushDTO dto) {
		PageHelper.startPage(dto.getPage(), dto.getPageSize());
		return new PageInfo<>(dao.getLogJPushList(dto));
	}

}
